// 原始数据类型

const a: string = 'foobar'

const b: number = 100
const c: boolean = true
const d: number = null  //在tsconfig.json文件中开启：strictNullChecks：false

const e: void = undefined

const f: null = null
const g: undefined = undefined
const h: symbol = Symbol()

Promise